package com.liezh.factory.simple;

import com.liezh.factory.RuleConfig;

import java.util.Map;

/**
 * @author liezh
 * @date 2022-5-7
 */
public class Main {
    public static void main(String[] args) {
        final RuleConfigSource ruleConfigSource = new RuleConfigSource();
        RuleConfig config = ruleConfigSource.load("config.json");
        final Map<String, String> map = config.getConfig();
        System.out.println(map.toString());

    }
}
